package netty.rpc.client;

import netty.rpc.api.EchoService;

/**
 * @author: 程序员七哥
 * @date: 2021-12-19
 * @description: 定义服务消费者
 */
public class RpcCustomer {

    public static void main(String[] args) {
        // 客户端进行 Rpc 远程调用测试
        EchoService echoService = RpcProxy.create(EchoService.class);
        System.out.println(echoService.echoMsg("小白"));
    }
}
